package com.trxy.service;

import com.trxy.model.User;

import java.util.List;

public interface UserService {

    User selectByNameAndPassword(String name, String password);

    User selectByName(String name);


    List<User> selectAll(String nameAdmin);

    User userState(int id);

    void updateState(String state, int id);
}
